<head>
<body>
<title>Tip about terminal</title>
<!--this is a line of note...-->
<h1>The setting about the automatic completion on Mac terminal</h1>
<b>All the operation are finished on the terminal by command line</b></h2>
<p>
<body bgcolor="white">Open your terminal by click the icon of terminal</p>
<p>
<br>1. switch to the present user direct.</br>
<pre style="background-color: rgb(238, 238, 238); border-color: rgb(221, 221, 221); font-size: 14px; ">
cd home
</pre>


<br>2. check whether there exists the file named .inputrc</br>
<pre style="background-color: rgb(238, 238, 238); border-color: rgb(221, 221, 221); font-size: 14px; ">
ls -a
</pre>
<br>3. If the file didn't exist, create a new empty file by the following command.</br>
<pre style="background-color: rgb(238, 238, 238); border-color: rgb(221, 221, 221); font-size: 14px; ">
touch .inputrc
</pre>
<br>5. If there is a file named .inputrc, edit it directly by the following command</br>
open -e .inputrc. and your system will use the default editor to open the file. <br>copy and paste the following code to the file.</br>
<pre style="background-color: rgb(238, 238, 238); border-color: rgb(221, 221, 221); font-size: 14px; ">
set show-all-if-ambiguous on
set completion-ignore-case on
TAB: menu-complete
</pre>
<br>6. press <button>control</button> and <button>S</button> to save the change and close the file, <strong>restart</strong> your terminal</br>
<br>The origin issue is <a href="https://mp.csdn.net/mdeditor/89881858#"target="_blank"><b>the origin blog is waiting for checking</b></a>, if you have any question, you can send an emal by <a href="mailto:iamzhouling@163.com"><i>iamzhouling@163.com</i></a>
</p>
</body>
</head>

